home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
jazclib1.arc
/
TABTOSP.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1986-02-04
|
288 b
|
19 lines
char *tabtosp(fsource,fdestin)
char *fsource,*fdestin;
{
int w;
w = 0;
while (*fsource) {
if (*fsource == 9)
do
fdestin[w] = ' ';
while (++w % 8);
else
fdestin[w++] = *fsource;
fsource++;
}
fdestin[w] = 0;
return(fdestin);
}